﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Fechas
    {
        [Required(ErrorMessage = "Fecha es requerido")]  
        public DateTime fecha1 { get; set; }

        [Required(ErrorMessage = "Fecha es requerido")]
        public DateTime fecha2 { get; set; }
    }
}
